home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Especial Multimedia
/
Especial Multimedia.iso
/
Multimed
/
Presenta
/
CREATORE.ZIP
/
DATA.Z
/
bounce.mmb
next >
Wrap
Text File
|
1997-06-04
|
414b
|
33 lines
This behaviour was generated using Creator Pro.
Copyright cenobyte 1996-1998
[NAME]
Bouncing Object
[VAR]
x
y
[SCRIPT]
if (x=0) then
x=random(8)-4
endif
if (y=0) then
y=random(8)-4
endif
object.x=object.x+x
object.y=object.y+y
if (object.x<1)
x=4
endif
if (object.x+object.width>XRES)
x=-4
endif
if (object.y<1)
y=4
endif
if (object.y+object.height>YRES)
y=-4
endif